﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head lang="en" id="adminPublic_head">
    <meta charset="UTF-8">
    <title>血库管理系统</title>
    <link rel="stylesheet" th:href="@{/css/public.css}" href="../css/public.css"/>
    <link rel="stylesheet" th:href="@{/css/style.css}" ref="../css/style.css"/>
    <script type="text/javascript">
        var t = null;
        function time() {
            dt = new Date();
            var y = dt.getFullYear();
            var h = dt.getHours();
            var m = dt.getMinutes();
            var s = dt.getSeconds();
            document.getElementById("timeShow").innerHTML = "当前时间：" + y + "年" + h + "时" + m + "分" + s + "秒";
            t = setTimeout(time, 1000);
        }
        window.onload = function () {
            time()
        }
    </script>
</head>
<body>
<!--头部-->
<header class="publicHeader" id="adminPublic_header">
    <h1>血库管理系统</h1>
    <div class="publicHeaderR">
        <p><span style="color: #fff21b"> [[${session.adminLoginUser.a_name}]]</span> , 欢迎你！</p>
        <a th:href="@{/logout}" href="../main/login.html">退出</a>
    </div>
</header>

<!--时间-->
<section class="publicTime" id="adminPublic_time">
    <span id="time">
        <div id="timeShow"></div>
    </span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
</section>

<!--主体内容-->
<section class="publicMian ">
    <!-- 左边栏 -->
    <div class="left" id="adminPublic_left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li ><a th:href="@{/admin/} + ${session.adminLoginUser.a_id}">个人信息</a></li>
                <li ><a th:href="@{/adminFindDoctor}">医生管理</a></li>
                <li ><a th:href="@{/adminFindBloodManager}">血库人员</a></li>
                <li ><a th:href="@{/adminFindPatient}">病人管理</a></li>
                <li ><a th:href="@{/adminFindBlood}">查看血液</a></li>
                <li ><a th:href="@{/adminFindUseBlood} ">查看申请</a></li>
                <li ><a th:href="@{/admin/pwd}">密码修改</a></li>
                <li><a th:href="@{/logout}">退出系统</a></li>
            </ul>
        </nav>
    </div>
</section>

<!-- 底部信息栏 -->
<footer class="footer" id="adminPublic_footer">
    <div style="text-align:center;">
        <p>
            <a href="http://www.nyist.com/" target="_blank">一个聪明的哈皮 www.nyist.com</a>
                版权所有
        </p>
    </div>
    <!-- 引入jQuery模板 -->
    <script th:src="@{/webjars/jquery/3.3.1/jquery.js}" src="../js/jquery.js"></script>
    <script th:src="@{/js/js.js}" src="../js/js.js"></script>
</footer>

</body>
</html>